package com.alibaba.dubbo.common.store;

import java.net.ConnectException;
import java.util.Map;

/**
 * @author LiuXianfa
 * @email xianfaliu@newbanker.cn
 * @date 2020/2/25 15:40
 */
public class MyDataStore implements DataStore {

    @Override
    public Map<String, Object> get(String componentName) {
        System.out.println(componentName);
        return null;
    }

    @Override
    public Object get(String componentName, String key) {
        System.out.println(componentName);
        System.out.println(key);
        return null;
    }

    @Override
    public void put(String componentName, String key, Object value) {

        System.out.println(componentName);
        System.out.println(key);
        System.out.println(value);
    }

    @Override
    public void remove(String componentName, String key) {
        System.out.println(componentName);
        System.out.println(key);
    }
}
